package com.ddlx.test.binder.service;

import com.ddlx.test.binder.aidl.DataSender;
import com.ddlx.test.binder.aidl.IDataSender;
import com.ddlx.test.binder.aidl.IPostCallback;
import com.ddlx.test.binder.aidl.Message;
import com.ddlx.test.binder.aidl.Result;
import com.ddlx.test.binder.util.Utils;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;
import android.util.Log;

public class OtherProcBinderService extends Service{
	private static final String TAG_STRING = "跨进程Binder";
	@Override
	public IBinder onBind(Intent intent) {
		IDataSender.Stub sender = new DataSender(TAG_STRING, this.getApplicationContext());
		Log.d("ddlx", "["+TAG_STRING+ "][onBind] return:"+sender);
		return sender;
	}

}
